package cn.dz.domain.mp.service;

import cn.dz.domain.mp.po.User;
import cn.dz.domain.mp.po.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @ClassName IUserService
 * @package: cn.dz.domain.mp.service
 * @Description 服务层接口
 * @Author dz
 * @Date 2025/1/9 11:42
 * @Version 1.0
 **/
public interface IUserService extends IService<User> {
    void deductBalance(Long id, Integer money);

    void deductBalanceLambda(Long id, Integer money);

    UserVO queryUserAndAddressById(Long userId);
}
